function num=gcpick_choosestation(data, sta)
% sta = input('Station Name:','s');
stlist = {};
for i=1:length(data)
    stlist = [stlist, data(i).station];
end
logic = ismember(stlist, sta);
if max(logic)
    num = find(logic>0);
    disp(['Select station: ',data(num).station]);
else
    num = 0;
    disp('No station is selected.')
end
end